/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.sun.courier.view.support;

import com.sun.courier.model.*;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.util.Arrays;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JPanel;

/**
 *
 * @author HONG QUAN
 */
public class WillExport_ButtonsPanel extends JPanel {
    public final List<JButton> buttons = Arrays.asList(new JButton("Delete"), new JButton("Edit"));
    public WillExport_ButtonsPanel() {
        super();
        setOpaque(true);
        for(JButton b: buttons) {
            b.setFocusable(false);
            b.setRolloverEnabled(false);
            b.setPreferredSize(new Dimension(65,25));
            add(b);
        }
    }
}
